package com.hc.dfs.entities.flow;

import java.io.Serializable;
import java.util.Date;

import com.hc.dfs.entities.document.Document;
import com.hc.dfs.entities.users.Userinfo;
/**
 * <p>
 *  当前待签结点表 实体类
 * </p>
 * @author 吕杰
 * @date 2012-11-08 下午01:57:41
 * @version $Revision: 1381 $ $Date: 2012-12-14 10:55:42 +0800 (周五, 14 十二月 2012) $ 
 */
public class UnsignedNode implements Serializable{

	private static final long serialVersionUID = 5862085279000734334L;

	private Integer id;

    private Integer flowId;//流程id

    private Integer signNodeId;//流程结点id

    private Integer operUserId;//执行人id

    private Integer operDeptId;//执行人部门id

    private Integer docId;//公文id

    private Integer nodeType;//结点类型

    private Integer isTimeOut;//是否过期

    private Date beginTime;//审批开始时间

    private Date deadLine;//截止时间

    public Date getDeadLine() {
		return deadLine;
	}

	public void setDeadLine(Date deadLine) {
		this.deadLine = deadLine;
	}

	private Integer flag;//扩展
    
    /**非数据库字段**/
	private Userinfo operUser; //执行人
	private String operUserName; //执行人姓名
	private Document document; //文档信息;
	private ExecSignNode signNode; //当前执行节点的信息
	private ExecCountersignNode execCountersignNode; //当前会签执行节点的信息

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getFlowId() {
		return flowId;
	}

	public void setFlowId(Integer flowId) {
		this.flowId = flowId;
	}

	public Integer getSignNodeId() {
		return signNodeId;
	}

	public void setSignNodeId(Integer signNodeId) {
		this.signNodeId = signNodeId;
	}

	public Integer getOperUserId() {
		return operUserId;
	}

	public void setOperUserId(Integer operUserId) {
		this.operUserId = operUserId;
	}

	public Integer getOperDeptId() {
		return operDeptId;
	}

	public void setOperDeptId(Integer operDeptId) {
		this.operDeptId = operDeptId;
	}

	public Integer getDocId() {
		return docId;
	}

	public void setDocId(Integer docId) {
		this.docId = docId;
	}

	public Integer getNodeType() {
		return nodeType;
	}

	public void setNodeType(Integer nodeType) {
		this.nodeType = nodeType;
	}


	public Integer getIsTimeOut() {
		return isTimeOut;
	}

	public void setIsTimeOut(Integer isTimeOut) {
		this.isTimeOut = isTimeOut;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}
	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}


	/**
	 * @return the document
	 */
	public Document getDocument() {
		return document;
	}

	/**
	 * @param document the document to set
	 */
	public void setDocument(Document document) {
		this.document = document;
	}

	/**
	 * @return the signNode
	 */
	public ExecSignNode getSignNode() {
		return signNode;
	}

	/**
	 * @param signNode the signNode to set
	 */
	public void setSignNode(ExecSignNode signNode) {
		this.signNode = signNode;
	}

	/**
	 * @return the operUser
	 */
	public Userinfo getOperUser() {
		return operUser;
	}

	/**
	 * @param operUser the operUser to set
	 */
	public void setOperUser(Userinfo operUser) {
		this.operUser = operUser;
	}

	/**
	 * @return the operUserName
	 */
	public String getOperUserName() {
		return operUserName;
	}

	/**
	 * @param operUserName the operUserName to set
	 */
	public void setOperUserName(String operUserName) {
		this.operUserName = operUserName;
	}

	public void setExecCountersignNode(ExecCountersignNode execCountersignNode) {
		this.execCountersignNode = execCountersignNode;
	}

	public ExecCountersignNode getExecCountersignNode() {
		return execCountersignNode;
	}

	

   
}